Insert No.
DLCD-B
Drawing No. LP0535
Released 3/02
Tel +1 (717) 767-6511
Fax +1 (717) 764-0839
www.redlion-controls.com
MODEL DLCD – DUAL LOOP CONTROLLER w/ DH-485
GENERAL DESCRIPTION
The Model DLCD, Dual Loop Controller with DH-485, has a similar feature
set and specifications as the standard Dual Loop Controller. The DLCD
provides a connection into an Allen Bradley DH-485 network allowing a fully
featured dual loop PID controller to be controlled and monitored by an Allen
Bradley PLC (SLC 500 controller, or similar), over a DH-485 network.
The DLCD communications port may be configured for DH-485, or as a
programming port allowing complete programming by our Windows
based
RLCPro configuration software.
ORDERING INFORMATION
MODEL NO.
DESCRIPTION
PART NUMBER
Dual Loop Controller w/ DH-485
DLCD
CBJ
Dual Loop Controller w/ 2 Analog
Outputs w/ DH-485
SLC 500 (RJ45) to RJ11 Cable
RJ11 Connector to Terminal Adapter
DLCD0001
DLCD1001
CBJ11C07
DRRJ11T6
USING THIS DOCUMENT
This document is an addendum to the bulletin describing the standard DLC
and describes the use of the DH-485 connection of the DLCD. This document
should be read in conjunction with the DLC Bulletin.
DRRJ11
1.0 Using the DLCD on a DH-485 Network
Overview
The DLCD rapidly exchanges blocks of control and status information for
each PID loop with an Integer File that has been allocated in the PLC. Each
DLCD is assigned an Integer File by setting the appropriate DIP Switches on
the DLCD. By accessing this Integer File, the PLC is able to control and
monitor the operation of each PID loop within each DLCD. Most applications
will only require information contained in these Control and Status blocks. The
ability has been included to upload and download Parameter and Configuration
blocks on demand for each PID loop.
Integer File Structure
The Integer File for each DLCD is structured to include Control, Status,
Parameter and Configuration blocks for each PID Loop. Control and Status
blocks contain data that is transferred automatically by the DLCD on alternate
communication scans. Parameter Blocks contain DLCD operating parameters
and may be occasionally changed. Configuration Blocks contain system
configuration parameters and are rarely changed.
Table 1 gives the overall structure of the Integer File giving the location of
the various blocks for each PID loop or channel. The tables in the following
sections show the structure of each block and provide a cross-reference from the
Allen Bradley Integer File register to the equivalent MODBUS Holding
Register in the DLCD.
When using the Integer File tables in the following sections, refer to the
Register Table in the DLC Bulletin for register details such as factory setting,
limits and description.
Note: Modbus registers provided for reference only.
Nx:
Block
0..3 Control Block – Channel A
4..7 Control Block – Channel B
8..11 Status Block – Channel A
12..15 Status Block – Channel B
16..23 Parameter Block – Channel A
24..31 Parameter Block – Channel B
32..63 Configuration Block – Channel A
64..95 Configuration Block – Channel B
Reference
Table 2
Table 2
Table 5
Table 5
Table 8
Table 9
Table 10
Table 13
Table 1 - Overview of Integer File Structure
1
Control Block
The Control block contains control values and commands, such as Set Point
and Control Mode. The DLCD continually reads the Control Blocks for each
PID loop from the PLC providing a means whereby the PLC program can
control the DLCD.
BIT POSITION
Status Block
The Status block contains current operating values and status such as Process
Value and Input Status. The DLCD continually writes the Status Block for each
PID channel providing a means whereby the PLC can monitor the operating
status of the DLCD.
BIT POSITION
Nx:
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
REFERENCE/
MODBUS REGISTER
Nx:
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
REFERENCE/
MODBUS REGISTER
0 Setpoint Channel A
1 Output Power Channel A
2 15 14 13
3
4 Setpoint Channel B
5 Output Power Channel B
6 15 14 13
7
7
6..5
7
6..5
40002
40005
1 0 Table 3
3 2 1 0 Table 4
40018
40021
1 0 Table 3
3 2 1 0 Table 4
8 Process Value Channel A
9 Output Power Channel A
10
11 15
12 Process Value Channel B
13 Output Power Channel B
14
15 15
15..8
7..5
7 6
15..8
7..5
7 6
40001
40005
4 3 2 1 0 Table 6
3 2 1 0 Table 7
40017
40021
4 3 2 1 0 Table 6
3 2 1 0 Table 7
Table 2 - Control Block - Channel A and B
Table 5 - Status Block - Channel A and B
MODBUS REGISTER
BITS
REGISTER NAME
CH. A
CH. B
BITS
REGISTER NAME
MODBUS REGISTER
CH. A
CH. B
15
14
13
12
11
10
9
8
7
6..5
4
3
2
1
0
Control Mode
Disable Integral Action
Disable Setpoint Ramping
Not Used
Not Used
Not Used
Not Used
Not Used
Auto-tune Request (See Note 2)
Auto-tune Code
Not Used
Not Used
Not Used
Alarm Output AL2 (See Note 1)
Alarm Output AL1 (See Note 1)
40041
40044
40042
-
-
-
-
-
-
40013
-
-
-
40016
40015
40049
40052
40050
-
-
-
-
-
-
40029
-
-
-
40032
40031
15..8
7..5
4
3
2
1
0
Input Error Status Register
Auto-Tune Phase
Control Output OP2
Control Output OP1
Set Point Ramping In Progress
Alarm Output AL2
Alarm Output AL1
40504
40012
40016
40014
40043
40016
40015
40504
40028
40032
40030
40051
40032
40031
Table 6 - Status Block for Nx:10 and Nx:14 Flags
MODBUS REGISTER
BITS
REGISTER NAME
CH. A
CH. B
15
14
13
12
11
10
Bus Active (See Note 5)
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Auto-Tune In Progress (See Note 4)
Auto-Tune Done (See Note 4)
Not Used
Not Used
Parameter Block Read Acknowledge
(See Note 6)
Configuration Block Read Acknowledge
(See Note 6)
Parameter Block Write Acknowledge
(See Note 6)
Configuration Block Write Acknowledge
(See Note 6)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Table 3 - Control Block for Nx:2 and Nx:6 Flags
MODBUS REGISTER
BITS
REGISTER NAME
CH. A
CH. B
9
8
7
6
5
4
3
2
1
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Parameter Read Strobe (See Note 3)
Configuration Read Strobe (See Note 3)
Parameter Write Strobe (See Note 3)
Configuration Write Strobe (See Note 3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Table 7 - Status Block for Nx:11 and Nx:15 Flags
Table 4 - Control Block for Nx:3 and Nx:7 Flags
2
Notes:
1. Alarm Output Control
The Control flags Alarm Output AL1 and AL2 must set TRUE (1) for correct
Alarm operation when Control Mode is Automatic (0). Set to 0 to reset an
Alarm.
2. Auto-tune Request
Setting the Auto-tune Request flag forces the DLCD to start the auto-tune
process. Refer to section Auto-tune Request for more detail on how the PLC
program may auto-tune a PID loop in the DLCD.
3. Read/Write Strobes
Setting the Read/Write Strobe flags forces the DLCD to upload or download
the appropriate Parameter or Configuration block. Refer to section
Transferring Parameter and Configuration Data for more detail on how to
transfer these blocks between the PLC and the DLCD.
4. Auto-tune Status
Monitoring the Auto-Tune Done and Auto-Tune In Progress flags allows the
PLC program to detect the completion of the Auto-tune process in the DLCD.
Refer to section Auto-tune Request for more detail on how the PLC program
may auto-tune a PID loop in the DLCD.
5. Bus Active
Each DLCD toggles the Bus Active flag on each communication scan.
6. Read/Write Acknowledge
The DLCD sets the appropriate acknowledge flag once the requested upload
or download of the Parameter or Configuration block is complete. Refer to
section Transferring Parameter and Configuration Data for more detail on
how to transfer these blocks between the PLC and the DLCD.
7. Data flow is described with respect to the DLCD in exchanges with the PLC.
Thus, Read data is data transferred from the PLC to the DLCD and Write
data is data transferred from the DLCD to the PLC.
Parameter Block
The Parameter blocks contain values that may need to be changed while the
DLCD is operating, such as PID parameters. Each Parameter Block may be
uploaded to or downloaded from the PLC on demand by setting the appropriate
request bit in the Control Block. Refer to section Transferring Parameter and
Configuration Data to see how this is done.
BIT POSITION
Nx:
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
BIT POSITION
Nx:
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
REFERENCE/
MODBUS REGISTER
REFERENCE/
MODBUS REGISTER
16 Proportional Band
17 Integral Time
18 Derivative Time
19 Cycle Time (Cooling)
20 Deadband (Cooling)
21 Alarm 1 Value
22 Alarm 2 Value
23
Not Used
Relative Gain (Cooling)
40007
40008
40009
40141
40143
40003
40004
-
40142
24 Proportional Band
25 Integral Time
26 Derivative Time
27 Cycle Time (Cooling)
28 Deadband (Cooling)
29 Alarm 1 Value
30 Alarm 2 Value
31
Not Used
Relative Gain (Cooling)
40023
40024
40025
40241
40243
40019
40020
-
40242
Table 8 - Parameter Block – Channel A
Table 9 - Parameter Block – Channel B
3
Configuration Block
The Configuration blocks contain values that describe the DLCD setup such
as Input configuration and as such will not need to be changed during normal
operation. These blocks may be uploaded to and downloaded from the PLC on
demand by setting the appropriate request bit in the Control Block. Refer to
section Transferring Parameter and Configuration Data to see how this is done.
BIT POSITION
Nx:
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
REFERENCE/
MODBUS
REGISTER
BIT POSITION
Nx:
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
REFERENCE/
MODBUS
REGISTER
32 Offset Power
33 Span Correction
34 Offset Correction
35 Low Limit (Setpoint)
36 High Limit (Setpoint)
37 Ramp Rate (Setpoint)
38 Process Low (Scaling Points)
39 Process High (Scaling Points)
40 Input Low (Scaling Points)
41 Input High (Scaling Points)
42 Cycle Time (OP1)
43 On Delay (AL1)
44 On Delay (AL2)
45 Scaling Value Low (Analog Output)
46 Scaling Value High (Analog Output)
47 Direct Entry Value (Analog Output)
48 Ramping Setpoint Value
49 15
14..8
50 Sensor Failure Power Preset (OP1)
51 Power Low Limit (OP1)
52 Power High Limit (OP1)
53 Dampening Time (OP1)
54 Hysteresis (AL1)
56 15 14 13 12
57 15..14 13..11
58 15
59 Action (AL1)
60
Not Used
61
Not Used
62
Not Used
63
Not Used
11..8
Hysteresis (AL2)
7
6
14..0
Action (AL2)
5
4..0
40010
40106
40107
40108
40109
40110
40111
40112
40113
40114
40116
40135
40140
40303
40304
40307
40045
Table 11
40120
40118
40119
On/Off Control Hysteresis (OP1) 40121 40122
40134 40139
40305 40306
Table 12
Table 14
Table 15
40131 40136
-
-
-
-
64 Offset Power
65 Span Correction / Remote Setpoint Ratio Multiplier
66 Offset Correction / Remote Setpoint Bias Offset
67 Low Limit (Setpoint)
68 High Limit (Setpoint)
69 Ramp Rate (Setpoint)
70 Process Low (Scaling Points)
71 Process High (Scaling Points)
72 Input Low (Scaling Points)
73 Input High (Scaling Points)
74 Cycle Time (OP1)
75 On Delay (AL1)
76 On Delay (AL2)
77 Scaling Value Low (Analog Output)
78 Scaling Value High (Analog Output)
79 Direct Entry Value (Analog Output)
80 Ramping Setpoint Value
81 15
14..8
82 Sensor Failure Power Preset (OP1)
83 Power Low Limit (OP1)
84 Power High Limit (OP1)
85 Dampening Time (OP1)
86 Hysteresis (AL1)
88 15 14 13 12
89 15..14
90 15
91 Action (AL1)
92
Not Used
93
Not Used
94
Not Used
95
Not Used
13..11
14..0
Action (AL2)
11..8
Hysteresis (AL2)
7
6
5
10..0
4..0
40026
40206
40207
40208
40209
40210
40211
40212
40213
40214
40216
40235
40240
40311
40312
40315
40053
Table 11
40220
40218
40219
On/Off Control Hysteresis (OP1) 40221 40222
40234 40239
40313 40314
Table 12
Table 14
Table 15
40231 40236
-
-
-
-
55 Deadband (Analog Output) Update Time (Analog Output)
10..0
87 Deadband (Analog Output) Update Time (Analog Output)
Table 10 - Configuration Block – Channel A
Table 13 - Configuration Block – Channel B
MODBUS REGISTER
BITS
REGISTER NAME
CH. A
CH. B
BITS
REGISTER NAME
MODBUS REGISTER
CH. A
CH. B
15
Remote/Local Setpoint Select
Channel B Assignment (Input)
40046
-
40104
-
40198
40204
15..14 Local/Remote Set Point Transfer Mode (Input)
13..11 Mode (Analog Output)
10..0 Assignment (Analog Output)
-
40302
40301
40199
40310
40309
14..8 Rounding (Input)
Table 11 - Configuration Block for Nx:49 and Nx:81 Flags
Table 14 - Configuration Block for Nx:57 and Nx:89 Flags
MODBUS REGISTER
BITS
REGISTER NAME
Ch. A
Ch. B
MODBUS REGISTER
BITS
REGISTER NAME
CH. A
CH. B
15 Reset (AL2)
14 Reset (AL1)
13 Enable Standby (AL2)
12 Enable Standby (AL1)
11..8 Digital Input Filter (Input)
7 Temperature Scale (Input)
6 Control Action (OP1)
5 Filter (Analog Output)
4..0 Process Decimal Point (Scaling Points)
40137
40132
40138
40133
40105
40102
40117
40308
40115
40237
40232
40238
40233
40205
40202
40217
40316
40215
15 Resolution (Input)
14..0 Input Type (Input)
40103
40101
40203
40201
Table 15 - Configuration Block for Nx:58 and Nx:90 Flags
Table 12 - Configuration Block for Nx:56 and Nx:88 Flags
4
2.0 Setting the DIP Switches
Overview
The DIP Switches and the Default Serial Terminal set the DLCD serial
communication operating mode to either DH-485 mode or MODBUS mode.
DH-485 mode allows the DLCD to be connected to a DH-485 network.
MODBUS mode allows programming of the DLCD using RLCPro.
PLC Address
The DLCD transfers data with a target PLC. Switch B (SWB) allows the
address of the target PLC on the DH-485 network to be set in the range 0..7.
PLC
ADDRESS
SWITCH POSITION
6
7
8
DH-485 Mode
Integer File
Each DLCD is assigned a unique Integer File in the PLC that the DLCD uses
to transfer data. Switch A (SWA) sets the target Integer file in the range
N7..N70.
Note N8 and N9 are invalid Integer File numbers and therefore cannot be used.
INTEGER
FILE
SWITCH POSITION
COMMENT
1
2
3
4
5
6
0
1
2
..
7
DN
DN
DN
DN
DN
UP
DN
UP
DN
UP
UP
UP
N7
N8
N9
N10
N11
..
N70
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
UP
DN
DN
UP
UP
DN
DN
UP
DN
UP
DN
Valid File Number
Invalid File Number
Invalid File Number
Valid File Number
Valid File Number
Valid File Number
Table 18 - Selections for PLC Address using DIP Switch B
Example 1
This example shows the DIP Switch settings for a DLCD operating in DH-
485 mode with the following configuration.
PLC Address
:1
DLCD Address
:8
Integer File
: 10 (N10)
1
2
3
4
5
6
1
2
3
4
5
6
7
8
UP
UP
UP
UP
UP
UP
Valid File Number
Table 16 - Integer File settings using DIP Switch A
DLCD Address
Each device on a DH-485 network must have a unique address. Switch B
(SWB) allows the DLCD address to be set in the range 0..31.
DLCD
Address
Switch Position
1
2
3
4
UP UP
DN DN DN DN
DN
UP
DN DN DN DN DN
UP
5
DN
UP
DN
UP
0
1
2
3
..
31
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
DN
UP
UP
Communication Settings
UP
UP
UP
UP
UP
The DLCD has a fixed baud rate of 19200 when used in DH-485 mode.
Table 17 - Selections for DLCD Address using DIP Switch B
MODBUS Mode
In MODBUS mode, the DLCD responds to MODBUS RTU frames and
therefore allows programming using RLCPro (refer to DLC Bulletin for
detailed information on using RLCPro with the DLCD). To configure the
DLCD for MODBUS without changing the DIP switches, use the Default Serial
Setting Terminal.
Alternatively, set all DIP switches Down as shown in Example 2. The DLCD
leaves the factory in this state, and is therefore ready to be programmed using
RLCPro.
Example 2
This example shows the DIP Switch settings for a DLCD operating in
MODBUS mode with the default serial settings.
1
2
3
4
5
6
1
2
3
4
5
6
7
8
DEFAULT SERIAL SETTING CONNECTIONS
If using software selectable serial
settings and the serial settings are unknown
or forgotten, they can be temporarily reset
to the defaults by connecting the “Default
Serial Setting” terminal 7 to “Output
Common” terminal 4 with a jumper.
Serial Communication Defaults:
Protocol:
RTU
Address:
247
Baud Rate:
9600
Data Bits:
8
Parity:
none
DN DN DN DN DN DN
DN DN DN DN DN DN DN DN
5